package com.xy.modular.shop.service.impl;

import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.shop.dao.ProductImg1Mapper;
import com.xy.modular.shop.entity.ProductImg1;
import com.xy.modular.shop.service.IProductImg1Service;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 图片表我们也可以添加 图片名称 图片扩展名 图片大小 等属性字段，也可以忽略，但图片路径必填项 服务实现类
 * </p>
 *
 * @author BCK
 * @since 2019-10-12
 */
@Service("productImg1Service")
public class ProductImg1ServiceImpl extends BaseServiceImpl<ProductImg1, String> implements IProductImg1Service {
	@Resource
	private ProductImg1Mapper productImg1Mapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.productImg1Mapper;
	}

	@Override
	public void validateEntity(ProductImg1 e) throws ValidateParamException {
		// TODO Auto-generated method stub
		
	}
}

	

